<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
    <div class="aside">
        {template "left.html",'yellowpage'}
    </div>
    
    <div class="main">
    	
        <div class="head">修改证书</div>
        <form action="{URL}"  method="post" name="myform"  enctype="multipart/form-data" >
        <table cellpadding="0" cellspacing="1" class=""> 
        <tr>
        <th width="20%"><strong>证书名称</strong></th>
        <td><input type="text" name="name" size="30" value="{$info[name]}" require="true" datatype="limit" min="3" max="80" msg='证书名称必须为3到80位'></td>
        </tr>
        <tr>
        <th width="20%"><strong>发证机构</strong></th>
        <td><input type="text" name="organization" size="30" value="{$info[organization]}" require="true" datatype="limit" min="3" max="80" msg='发证机构必须为3到80位'></td>
        </tr>
        <tr>
        <th width="20%"><strong>证书图片</strong></th>
        <td><input type="text" name="thumb" id="thumb" size="50" value="{$info[thumb]}" require="true" datatype="limit" min="5" msg='请上传证书'>  <input type="button" name="thumb_upload" id="thumb_upload" value="上传图片" style="width:60px" onClick="javascript:openwinx('?module=upload&uploadtext=thumb','upload','450','350')"/></td>
        </tr>
        
        <tr>
        <th width="20%"><strong>生效日期</strong></th>
        <td><input type="text" name="effecttime" id="effecttime" size="15" value="{$info[effecttime]}" require="true" datatype="limit" min="3" msg='请填写生效日期'></td>
        </tr>
        <tr>
        <th width="20%"><strong>截至日期</strong></th>
        <td><input type="text" name="endtime" id="endtime" size="15" value="{$info[endtime]}" require="true" datatype="limit" min="3" msg='请填写截至日期'></td>
        </tr>
        <tr> 
        <td></td>
        <td> 
        <input type="hidden" name="id" value="{$id}"> 
        <input type="hidden" name="forward" value="{$forward}"> 
        <input type="submit" name="dosubmit" value=" 确定修改 "> 
        </td>
        </tr>
        </table>
        </form>
        
            {if $info[status]==1}
            <div class="head">提示信息</div>
            <table cellpadding="0" cellspacing="1" class="table" style="*margin-top:10px;"> 
              <tr>
            <td> 主意：您当前的证书为已经审核状态，修改企业证书后，需要重新审核
            <br/>
            </td>
              </tr>
            </table>
            {/if}
       
    </div>
    
</div>


 
{template 'footer.html'}
<SCRIPT LANGUAGE="JavaScript">
<!--
$().ready(function() {
  $('form').checkForm(1);
});
//-->
</SCRIPT>

<script type="text/javascript" src="images/js/validator.js"></script>